﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Auction_Intranet.Helpers
{
    public class UserAuthenticationFilter : ActionFilterAttribute
    {
        //protected override void OnActionExecuting(ActionExecutingContext filterContext)
        //{

        //    var currentUser = User.Identity.Name;
        //    var currentEUser = Environment.UserName;
        //    System.Diagnostics.Trace.WriteLine(currentUser + " or " + currentEUser + " in parent controller!");
        //    filterContext.HttpContext.Trace.Write("(Logging Filter)Action Executing: " +
        //        filterContext.ActionDescriptor.ActionName);

        //    base.OnActionExecuting(filterContext);
        //}
    }
}